home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2484 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  896 b 

  1. Path: news-m01.ny.us.ibm.net!usenet
  2. From: mitch@ibm.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How to get Beep??
  5. Date: Thu, 18 Jan 1996 19:30:22 GMT
  6. Organization: NRMA
  7. Message-ID: <4dk333$1uak@news-s01.ny.us.ibm.net>
  8. References: <4djthp$o2o@hermes.louisville.edu>
  9. NNTP-Posting-Host: slip202-135-13-100.sy.au.ibm.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. bbboon01@homer.louisville.edu (Billy Boone) wrote:
  13.  
  14. >I was wondering how I could get a Beep similar to Visual Basic's Beep 
  15. >statement in Visual C++ 1.5.  I want a beep when I give the user error 
  16. >messages.  Is it an API or is it a MFC function??
  17.  
  18. >I know in C adding a \a gets you a beep but I want to utilize the 
  19. >AfxMessageBox to display my error message but I also want to have a beep to 
  20. >alert the user of the error.
  21.  
  22. >Any help would be greatly appreciated.
  23.  
  24. >Billy
  25.  
  26. The MessageBeep() windows function should do the trick - Mitch
  27.     
  28.  
  29.